package com.am.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;


import java.time.Duration;
@Component
@Data
@ConfigurationProperties(prefix = "am.jwt")
public class JwtProperties {
    /**
     * 生成jwt令牌相关配置
     */
    private String secretKey;
    private long time;
    private String tokenName;
}